﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChooseFlight.ascx.cs" Inherits="InhollandAir.ChooseFlight" %>

<div>
    <asp:UpdatePanel runat="server">
        <ContentTemplate>
            <table>
                <tr>
                    <td>Country from</td>
                    <td>Country to</td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList ID="ddlCountryFrom" AutoPostBack="true" OnSelectedIndexChanged="DdlCountryFromOnSelectedIndexChanged" runat="server" />
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCountryTo" AutoPostBack="true" OnSelectedIndexChanged="DdlCountryToOnSelectedIndexChanged" runat="server"/>
                    </td>
                </tr>
                <tr>
                    <td>Airport from</td>
                    <td>Airport to</td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList ID="ddlAirportFrom" AutoPostBack="true" runat="server" OnSelectedIndexChanged="DdlAirportFromOnSelectedIndexChanged">
                            <asp:ListItem Enabled="False" Selected="True">Select Airport ...</asp:ListItem>    
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlAirportTo" AutoPostBack="true" runat="server" OnSelectedIndexChanged="DdlAirportToOnSelectedIndexChanged">
                            <asp:ListItem Enabled="False" Selected="True">Select Airport ...</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>